package homework.Game;
/**
 * 职业类
 */
public class Professional {
    /**职业名字*/
    String name;
    /**等级*/
    int level;
    public Professional(){

    }
    public Professional(String name,int level){
        this.name = name;
        this.level = level;
    }
    public String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name = name;
    }
    public int getLevel(){
        return this.level;
    }
    public void setLevel(){
        this.level = level;
    }
}
